from ftllibs.items.itemtools import ItemIconData

class Item_3157():
    def __init__(self):
        self.parent=False
        self.Name="Zhonya's Hourglass"
        self.IconFileName="3157.png"
        self.ID=3157
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1031','1058']
        self.Builds_Into=[]
        self.Tags=['armor','spell_damage']
        self.Costs = 800
        self.Total_Costs = 3100
        self.Description="+100 Ability Power +50 Armor  UNIQUE Active: Places your champion into Stasis for 2 seconds, rendering you invulnerable and untargetable but unable to take any action (90 second cooldown)."
        self.RichText_Description=""
        self.has_active=True
        self.has_passive=False
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["summonersrift"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Ability_Power += 100.0
        self.parent.Armor += 50.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


